<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link 	type="text/css"	rel="stylesheet" 	href="/assets/plugins/jquery-easyui-1.4.5/themes/gray/easyui.css">
    <link 	type="text/css"	rel="stylesheet" 	href="/assets/plugins/jquery-easyui-1.4.5/themes/icon.css">
    <link 	type="text/css"	rel="stylesheet" 	href="/assets/plugins/jquery-easyui-1.4.5/themes/color.css">
    <script type="text/javascript" src="/assets/js/jquery-1.11.1.min.js"></script>
    <script type="text/javascript" src="/assets/plugins/jquery-easyui-1.4.5/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="/assets/js/comm.js?t=<?php echo time()?>"></script>
    <script type="text/javascript" src="/assets/plugins/jquery-easyui-1.4.5/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="/assets/plugins/layer/layer.js"></script>
    <script type="text/javascript" src="/assets/js/ajaxfileupload.js"></script>
    <title>卓鹿软件考勤系统</title>
    <style>
        #progressbar
        {
            position: absolute;
            left:50px;
            top:50px;

        }
        .msg{
            margin-left: 50px;
        }
    </style>
</head>
<body bgcolor="FFFFFF">
<script>

    /*var hello = 'hello';
     function getHelloWorld() {
     alert('hello world');
     }*/
    function  show_bar(num) {
        $('#progressbar').progressbar({
            value: num,
            //scrollbar: false

        });
        //console.info(num);
        if(num==100){
            $("#msg").html("导入完成");
            parent.reloads();// $('#tt').datagrid("reload");
            var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
            parent.layer.close(index); //再执行关闭
        }
    }

    function my(info) {
        alert(info);
    }

    //show_bar();
    /* var aa=frames['if1'].document.getElementById('p2').name;*/
    //var n= window.frames['if1'].document.getElementById('p2').name;
    /* console.info(aa);*/
    // console.info(n);
</script>

<div id="msg" class="msg"> 正在导入文件，请稍候...</div>
<div id="progressbar" class="easyui-progressbar"  style="width:400px;" value="1"></div>
<iFrame name="myframe" id="myframe"  src="<?php echo $action_url; ?>" width=0 height=0 frameborder=0></iFrame>
</body>
</html>


